package com.project.service.impl;

import com.project.bean.CountMonthSellBean;
import com.project.mapper.ICountMonthMapper;
import com.project.mapper.ICountSellMapper;
import com.project.service.ICountMonthSellService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

public class CountMothSellImpl implements ICountMonthSellService {
 @Autowired
    private ICountMonthMapper iCountMothMapper;
    @Override
    public List<Integer> findYear() {
        return iCountMothMapper.findYear();
    }

    @Override
    public List<CountMonthSellBean> findMoneyByMonth(String year) {
        return iCountMothMapper.findMoneyByMonth(year);
    }
}
